﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Traceab.DTO
{
    public class SlPriseDTO
    {
        /// <summary>
        /// 省份名称
        /// </summary>
        public string? provinceName { get; set; }
        /// <summary>
        /// 市名称
        /// </summary>
        public string? cityName { get; set; }
      
        /// <summary>
        /// 县级名称
        /// </summary>
        public string? countryName { get; set; }
        /// <summary>
        /// 屠宰企业表ID
        /// </summary>
        [Key]
        public int SlaughterEnterPriseId { get; set; }
        /// <summary>
        /// 屠宰企业名称
        /// </summary>
        public string? SlaughterEnterPriseName { get; set; }
        /// <summary>
        /// 省份ID
        /// </summary>
        public int provinceId { get; set; }
        /// <summary>
        /// 市ID
        /// </summary>
        public int cityId { get; set; }
        /// <summary>
        /// 县ID
        /// </summary>
        public int countryId { get; set; }
        /// <summary>
        /// 屠宰公司成立时间
        /// </summary>
        public DateTime CreateDate { get; set; }
        /// <summary>
        /// 屠宰公司简介
        /// </summary>
        public string? Desc { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 删除标志
        /// </summary>
        public bool SlaughterEnterPriseDel { get; set; } = false;
    }
}
